2009-02-12 Cody Russell <bratsche@gnome.org>
Bug 571576 – gdk_pixbuf_save_to_stream() broken
* gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
it does not always return FALSE (even when it succeeds), and also so
that it does not set error to NULL when something goes wrong.
svn path=/trunk/; revision=22322
+2009-02-12 Cody Russell <bratsche@gnome.org>
+
+ Bug 571576 – gdk_pixbuf_save_to_stream() broken
+
+ * gdk-pixbuf/gdk-pixbuf-io.c: Fix gdk_pixbuf_save_to_stream() so that
+ it does not always return FALSE (even when it succeeds), and also so
+ that it does not set error to NULL when something goes wrong.
+
2009-02-12 Marek Kasik <mkasik@redhat.com>
Bug 568571 – Asian am/pm format on cups print backend's time parsing
data.stream = stream;
data.cancellable = cancellable;
- if (!gdk_pixbuf_save_to_callbackv (pixbuf, save_to_stream,
- &data, type,
- keys, values,
- error)) {
- error = NULL; /* Ignore further errors */
- res = FALSE;
- }
+ res = gdk_pixbuf_save_to_callbackv (pixbuf, save_to_stream,
+ &data, type,
+ keys, values,
+ error);
g_strfreev (keys);
g_strfreev (values);